package moxl.xpath.parser.states.step;

import moxl.tokenizer.Token;
import moxl.tokenizer.TokenStream;
import moxl.xpath.parser.XPathParser;
import moxl.xpath.parser.XPathParserException;
import moxl.xpath.parser.states.XPathParserState;
import moxl.xpath.parser.types.NonTerminal;

public class XPathStepNodeTypeExpectingOpenParenthesisState extends XPathParserState
{
	private static XPathStepNodeTypeExpectingOpenParenthesisState instance = new XPathStepNodeTypeExpectingOpenParenthesisState();

	public static XPathStepNodeTypeExpectingOpenParenthesisState getInstance()
	{
		return instance;
	}

	@Override
    public void acceptOpenParenthesis(XPathParser ctx, TokenStream tstream, Token token, NonTerminal nonTerminal) throws XPathParserException
    {
	    ctx.changeState(XPathStepNodeTypeExpectingCloseParenthesisState.getInstance());
    }
	
	
}
